package com.wx.mall.goods.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author j
 * @since 2020-05-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pro_appaise")
@ApiModel(value="Appaise对象", description="")
public class Appaise implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "评价表id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "评价表编号")
    private String appaiseNumber;

    @ApiModelProperty(value = "用户表的id")
    private Long userId;

    @ApiModelProperty(value = "用户昵称")
    private String userName;

    @ApiModelProperty(value = "spu表的id")
    private Integer spuId;

    @ApiModelProperty(value = "spu的商品名称")
    private String spuName;

    @ApiModelProperty(value = "评价星级(最大3星)")
    private Integer appaiseImg;

    @ApiModelProperty(value = "评价内容")
    private String appaiseFont;

    @ApiModelProperty(value = "ip地址")
    private String ip;

    @ApiModelProperty(value = "评价时间自动获取")
    private Date appaiseCreateTime;

    @ApiModelProperty(value = "是否显示:1显示,0不显示")
    private Integer isShow;

    @ApiModelProperty(value = "图片,最大五张")
    private String appaiseUrl;


    @ApiModelProperty(value = "回复内容")
    private String appaiseReply;



}
